package com.chaopei.goods_mng_impl.mapper;

import com.chaopei.goods_mng_api.entity.Product;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * @Author Corday 天涯
 * @Date 2022/5/5 14:50
 */
@Mapper
public interface ProductMapper {
//   @Select("select * from product_info")
   List<Product> selectProducts();
   List<Product> selectProductsByNameOrCode(String nameCode);
//   通过商品code查询
   Product selectProductByCode(String code);
}
